# service.explorer模块

from model.explorer import Explorer 
from data import explorer as data 


def get_all() -> list[Explorer]: 
    return data.get_all() 


def get_one(name: str) -> Explorer | None: 

    return data.get_one(name) 


def create(creature: Explorer) -> Explorer: 

    return data.create(creature) 


def modify(name: str, creature: Explorer) -> Explorer: 

    return data.modify(name, creature) 


def delete(name) -> None: 

    return data.delete(name) 